package com.un.web.sys.service;

import cn.hutool.db.Page;
import cn.hutool.json.JSONObject;
import com.github.pagehelper.PageInfo;
import com.un.web.sys.domain.entity.SysUser;
import com.un.web.sys.domain.vo.SysUserVO;

import java.util.HashMap;
import java.util.List;

/**
 * @Author xingjian
 * @Date 2023-01-12
 **/

public interface SysUserService {


    int deleteByPrimaryKey(Integer id);


    HashMap getQrCode();

    boolean saveUser(SysUser record);

    SysUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    PageInfo<SysUserVO> selectAllByPage(Page page, SysUser user);

    HashMap<String, Object> login(SysUser user);

    List<SysUser> selectAll();

    void loginOut(Integer id);

    SysUser selectWxUser(String userId);

    HashMap<String, Object> loginWx(String temUserId);
}









